﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace AgileFx.MVC
{
    public class DefaultMasterPage : ViewMasterPage
    {
        //TODO: Remove later
        //break inherited member
        public new object ViewData { get; set; }

        public string GetString(string code)
        {
            return I18n.GetString(code);
        }
    }

    public class DefaultMasterPage<T> : ViewMasterPage<T>
        where T : DefaultView, new()
    {
        //TODO: Remove later
        //break inherited member
        public new object ViewData { get; set; }

        public string GetString(string code)
        {
            return I18n.GetString(code);
        }
    }
}
